package com.edu.admin.entity;


import javax.persistence.Table;
import javax.validation.constraints.Min;
import com.edu.admin.common.BaseEntity;

/**
 * 学段表实体
 * 
 * @author Wangjiong
 * 
 */
@Table(name = "sys_school_phase")
public class SysSchoolPhase extends BaseEntity{ 

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5486361603748503423L;
	/**
	 * 学校id
	 * 
	 */
	@Min(value = 1, message = "学校不能为空")
	private Long schoolId;
	/**
	 * 学段id
	 * 
	 */
	@Min(value = 1, message = "学段不能为空")
	private Long phaseId;
	
	public Long getSchoolId() {
		return schoolId;
	}
	public void setSchoolId(Long schoolId) {
		this.schoolId = schoolId;
	}
	public Long getPhaseId() {
		return phaseId;
	}
	public void setPhaseId(Long phaseId) {
		this.phaseId = phaseId;
	}
	
	
}
